package com.gxa.saas.service;

import com.gxa.saas.pojo.GoodsXq;
import com.gxa.saas.pojo.Storage;
import com.gxa.saas.pojo.StoreHouseOut;

import java.util.List;
import java.util.Map;

public interface StoreHouseOutService {
    List<StoreHouseOut> selectByPage(Integer limit, Integer size);
    Integer addOutList(StoreHouseOut storeHouseOut);
    Integer deleteById(Integer id);
    StoreHouseOut selectById(Integer id);
    Integer update(Map map);
    Integer updateCheck(Integer id,String comments);
    List<GoodsXq> selectDetailById(Integer id);
    List<StoreHouseOut> selectAll();
    List<StoreHouseOut> selectByDateAndDepotAndState(Map map);
    Integer  updateByOut(StoreHouseOut storeHouseOut);
    List<Storage> getStorageList(Integer limit, Integer size);


    Integer getTotalCountOut();
    Integer getTotalStorageOut();
    Integer getTotalByLike(String name);
    Integer getTotalByTiaojian(Map map);


    List<StoreHouseOut> getDropDownList();
    List<Storage> selectStoreDetail(String goodsName, Integer page, Integer size);

    Storage selectByDetailId(Integer id);
    Integer deleteDetailById(Integer id);
    Integer insertGoodsXq(GoodsXq goodsXq);
    GoodsXq selectByGoodsXqId(Integer id);
    Integer updateByPrice(Integer bigCount,Integer smallCount,Double money,Integer id);
}
